/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package AirLine;
import java.util.*;
/**
 *
 * @author oskar
 */
public class Airplane {
    
    private Set<Seat> allSeats;
    private String planeId;
    private String type;
    
    public Airplane(String id, Set<Seat> seats, String type)
    {
        this.planeId=id;
        this.allSeats=seats;
        this.type=type;
    }
    
    public String getId()
    {
        return planeId;
    }
    
    public Set<Seat> getSeats()
    {
        return allSeats;
    }
    
    public String getType()
    {
        return type;
    }
}
